package Interpreter;

public class ToNode implements DBNode {
    private String dbName;
    @Override
    public void intperpret(Context context) throws Exception {
        context.skipToken("TO");
        dbName = context.currentToken();
        context.nextToken();
    }
    @Override
    public String toString() {
        return "to " + dbName;
    }
}
